home *** CD-ROM | disk | FTP | other *** search
/ Gigarom 1 / Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso / FILES / CDE / O-Z / PrintAid 1.0.cpt / PrintAid.rsrc / TEXT_-4048.txt < prev    next >
Text File  |  1991-03-23  |  5KB  |  55 lines

  1.  
  2.  
  3.  
  4.  
  5. Copyright ¬© 1991 by James W. Walker.
  6.  
  7.  
  8. What is PrintAid?
  9.  
  10. If you use a LaserWriter, you can print in the background with the help of Apple‚Äôs PrintMonitor.  If you use a different kind of printer, there are ‚Äúspooler‚Äù programs you can buy from several companies.  A spooler intercepts the information before it is printed, returns control of the application to you, and then sits in the background feeding the information to the printer.
  11.  
  12. If you don‚Äôt have a spooler, the next best thing is for the application to keep feeding information to the printer, but allow you to switch to another application (under MultiFinder) and work there.  This is quite easy for the programmer to accomplish, but unfortunately most don‚Äôt do it.  Perhaps they‚Äôre worried that you will do something silly like try to print from another application before the first print job is finished.  What‚Äôs worse, they don‚Äôt even give time to other tasks running in the background.  For instance, suppose your communication program is downloading something in the background, and then you decide to print something in, say, MacWrite II or Word 4.  As soon as the printer starts going, the download stops!
  13.  
  14. I wrote the PrintAid control panel extension (INIT/cdev) to alleviate this problem.  It installs a routine which is called periodically during printing, and which allows you either to switch the printing application into the background or to run something else in its background.  If the printing application puts up a modal dialog, which normally prevents MultiFinder from switching to another application, then PrintAid will modify the dialog type so that it will not prevent switching.  In this case you will have to click the mouse a couple of times.  As usual, you can cancel printing (when the printing application is in the foreground) by pressing command-period.  Let me emphasize that PrintAid is NOT A SPOOLER.
  15.  
  16. The original plans for System 7 included a new printing architecture, which was to allow background printing for every printer.  That was dropped under time pressure, but presumably Apple will get around to it sooner or later, and then PrintAid will become obsolete.
  17.  
  18.  
  19. Using PrintAid
  20.  
  21. To use PrintAid, put it into your System Folder (or, in System 7, your Control Panels folder) and reboot.  You can use PrintAid‚Äôs control panel interface to turn PrintAid off, turn off its startup icon, or read this help text.
  22.  
  23.  
  24. Limitations and Imperfections
  25.  
  26. ‚Ä¢  You still may not get instant response to your attempt to switch to a different application during printing.  Have you noticed that printing (other than draft mode) happens in two stages?  First the application works for a while without printing, and then the printer starts up.  It is in this second stage, with the printer actually printing, that PrintAid goes into action.
  27.  
  28. ‚Ä¢  Some applications were not set up to work in the background.  MicroSoft Word 4 is an example.  If you don‚Äôt mind using ResEdit, you can fix this:  Edit the SIZE resources, and change the ‚ÄúCan Background‚Äù bit to 1.  Usually, PrintAid will put up an alert box if you put it in the background and the application does not have its ‚ÄúCan Background‚Äù bit set, but if the application is REALLY MultiFinder-ignorant, then PrintAid may not be able to tell that it has been put in the background.
  29.  
  30. ‚Ä¢  There are likely to be some esthetic flaws, due to the fact that PrintAid cannot process update events and activate events.  (Update events are what cause windows to be redrawn when parts that were covered become exposed; activate events control things like highlighting of scroll bars and whether or not the text insertion point is visible.)
  31.  
  32. ‚Ä¢  If an application does its own event processing while printing, then PrintAid will not attempt to interfere, even if the application does not allow background printing.  CE Software's Amazing Paint is an example of this.  Although PrintAid has no effect on Amazing Paint, you can acheive the same effect with ResEdit:  Change the procID of the ‚Äúcancel print‚Äù DLOG from 1 to 9, and set the ‚ÄúCan background‚Äù bit of the SIZE 0 resource to 1.  Of course, this change has not been approved by CE Software and should not be done to your only copy of Amazing Paint.
  33.  
  34.  
  35. Feedback Addresses
  36.  
  37. America Online:   JWWalker
  38. CompuServe:   76367,2271
  39. InterNet: 76367.2271@compuserve.com
  40. U.S. Mail:¬†
  41.   James W. Walker
  42.   Department of Mathematics
  43.   University of South Carolina
  44.   Columbia, SC 29208
  45.  
  46.  
  47. Distribution Policy
  48.  
  49. PrintAid is provided free of charge to all Macintosh users.  It may be distributed freely, provided that both the software and this documentation are always distributed together, in whole and unchanged.  PrintAid may not be sold or offered for sale, or included with another software product offered for sale, except with the express written permission of the author.  Companies that distribute public domain/freeware/shareware software for profit are expressly prohibited from distributing PrintAid.  This restriction does not apply to bulletin boards, commercial on-line services such as America Online, CompuServe and GEnie, and non-profit Macintosh user groups which hold regularly scheduled public meetings.
  50.  
  51.  
  52. Acknowledgements
  53.  
  54. I would like to thank the people who served as beta testers for PrintAid  1.0: Brian Hall, Seth Laforge, David Lamkins, Jim Lloyd, Brian Lowry, Robert L Mathews, and Chris Morrison.
  55.